package com.ydd.app.bean.common;

import java.io.Serializable;

public class CommonResponse implements Serializable{
	
	private static final long serialVersionUID = -7323203192060288220L;

	private String _code;
	
	private String _message;
	
	// 成功代码
	private boolean _success;
	
	// List件数
	private int _rowCount;

	public String getCode() {
		return _code;
	}

	public void setCode(final String code) {
		this._code = code;
	}

	public String getMessage() {
		return _message;
	}

	public void setMessage(final String message) {
		this._message = message;
	}

	public boolean isSuccess() {
		return _success;
	}

	public void setSuccess(final boolean success) {
		this._success = success;
	}

	public int getRowCount() {
		return _rowCount;
	}

	public void setRowCount(final int rowCount) {
		this._rowCount = rowCount;
	}

	@Override
	public String toString() {
		return "CommonResponse [_code=" + _code + ", _message=" + _message
				+ ", _success=" + _success + ", _rowCount=" + _rowCount + "]";
	}


}
